//
//  DraggableView.h
//  DraggingImage
//
//  Created by apple on 8/19/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
@class PuzzleViewController;
@class FixFrame;
@interface DraggableView : UIImageView{
    CGPoint start;
    
}
@property (nonatomic,retain) DraggableView *topView;
@property (nonatomic,retain) DraggableView *leftView;
@property (nonatomic,retain) DraggableView *rightView;
@property (nonatomic,retain) DraggableView *bottomView;

@property BOOL isRightPosition;
@property (nonatomic,retain) PuzzleViewController *controller;    
@property (nonatomic) int targetHorizontalIndex;
@property (nonatomic) int targetVerticalIndex;
@property (nonatomic) int horizontalIndex;
@property (nonatomic) int verticalIndex;
- (void)moveToTarget:(FixFrame *)target;
@end
